package com.leyu.mall.dao.cms;

import java.util.List;

import com.leyu.mall.domain.cms.CmsNews;
public interface CmsNewsMapper
{
	public List<CmsNews> getAllCmsNews();

	public CmsNews getCmsNewsById(Long id);

	public void addCmsNews(CmsNews cmsNews);

	public void updateCmsNews(CmsNews cmsNews);

	public void deleteCmsNews(Long id);

	public List<CmsNews> getNewsListByPage(CmsNews pagebean);

	public int getNewsListByPageCount();
	
	public List<CmsNews> getDisplayNewsList();
	
	
	public List<CmsNews> getFooterList();
	
	
}
